package com.lbmb.mdps.workbench.dao;

import com.lbmb.mdps.commons.domain.InventoryReceive;
import com.lbmb.mdps.workbench.domain.Inventory;
import com.lbmb.mdps.workbench.domain.Purchase;

import java.util.List;

/**
 * @author WJP
 * @date 2022-05-30 1:21
 * description
 */
public interface InventoryDao {
    int addInventory(Inventory inventoryAdd);

    Integer getInventoryTotal(InventoryReceive inventoryReceive);

    List<Inventory> inventoryPageList(InventoryReceive inventoryReceive);

    int updateInventory(Inventory inventory);

    Inventory getInventoryByCondition(Purchase purchase);
}
